package com.zb.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @Author WEN
 * @Date 2024/5/20 0020
 **/
@Data
@ApiModel("品牌商家商品对象")
public class FactoryProductVo {
    @NotNull(message = "品牌商家不能为空，至少选择一项")
    @Size(min = 1, message = "商品商家至少选择一项")
    @ApiModelProperty(value = "品牌商家ID", required = true)
    private List<Long> factoryIds;

    @NotNull(message = "商品不能为空，至少选择一项")
    @Size(min = 1, message = "商品至少选择一项")
    @ApiModelProperty(value = "商品ID")
    private List<Long> productIds;
}
